#!/bin/bash
zkServer.sh stop
if [ $? -eq 0 ];then
  echo "$(date +"%Y-%m-%d %H:%M:%S") zookeeper process has been stopped"
else
  echo "$(date +"%Y-%m-%d %H:%M:%S") zookeeper process can not be stopped"
  exit 1
fi